<?php defined('SYSPATH') or die('No direct script access.');   $symbol = Currency_Tool::symbol(); ?>
<div class="travel-container">
    <h3 class="travel-tit">行程及订单内容</h3>
    <table class="travel-table">
        <tr>
            <td width="80" bgcolor="#ccc">产品名称</td>
            <td colspan="3">{$order['productname']}</td>
        </tr>
        <tr>
            <td width="80" bgcolor="#ccc">产品编号</td>
            <td >{$order['series']}</td>
            <td width="80" bgcolor="#ccc">预订套餐</td>
            <td>{$order['suitname']}</td>
        </tr>
        <tr>
            <td width="80" bgcolor="#ccc">出团日期</td>
            <td>{$order['usedate']}</td>
            <td width="80" bgcolor="#ccc">行程天数</td>
            <td>{if $order}{$order['line']['lineday']}天{$order['line']['linenight']}晚{/if}</td>
        </tr>
        <tr>
            <td width="80" bgcolor="#ccc">参团人数</td>
            <td>{if $order}{php}echo $order['oldnum']+$order['dingnum']+$order['childnum']+$order['people4_num']+$order['people5_num']+$order['people6_num'];{/php}人（其中成人{$order['dingnum']}人，小孩{$order['childnum']}人，老人{$order['oldnum']}人，
                {if $people4_name && $order['people4_num']}{$people4_name}{$order['people4_num']}人，{/if}
                {if $people5_name && $order['people5_num']}{$people5_name}{$order['people5_num']}人，{/if}
                {if $people6_name && $order['people6_num']}{$people6_name}{$order['people6_num']}人 {/if}
                {/if}
            </td>
            <td width="80" bgcolor="#ccc">单房差</td>
            <td>{if $order}{php}echo $order['roombalance']*$order['roombalancenum'];{/php}{/if}</td>
        </tr>

        <tr>
            <td width="80" bgcolor="#ccc">收费标准</td>
            <td colspan="3">{if $order}
                成人：{$symbol}{$order['price']}/人，
                老人：{$symbol}{$order['oldprice']}/人，
                儿童：{$symbol}{$order['childprice']}/人，
                {if $people4_name && $order['people4_num']} {$people4_name}: {$symbol}{$order['people4_price']}/人，{/if}
                {if $people5_name && $order['people5_num']} {$people5_name}: {$symbol}{$order['people5_price']}/人，{/if}
                {if $people6_name && $order['people6_num']} {$people6_name}: {$symbol}{$order['people6_price']}/人，{/if}
                单房差：{$symbol}{$order['roombalance']}/人
                {/if} </td>
        </tr>
        <tr>
            <td width="80" bgcolor="#ccc">优惠</td>
            <td>{if $order}{$symbol}{$order['privileg_price']}{/if}</td>
            <td width="80" bgcolor="#ccc">合计</td>
            <td>{if $order}{$symbol}{$order['payprice']}{/if}</td>
        </tr>
    </table>

    {if !empty($tourer)}
    <h3 class="travel-tit" style="margin-top: 20px">旅客信息</h3>
    <table  class="travel-table">
        {loop $tourer $k $v}
        <tr>
            <td bgcolor="#ccc">旅客{$k+1}:</td>
            <td>{$v['tourername']}</td>
            <td>{$v['sex']}</td>
            <td>{$v['cardnumber']}</td>
            <td>{$v['mobile']}</td>
        </tr>
        {/loop}
    </table>
    {/if}
</div>
